//
//  UIView+YSAdd.h
//  YSKitExample
//
//  Created by Kyson on 2017/6/16.
//  Copyright © 2017年 YangShen. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

@interface UIView (YSAdd)

#pragma mark - Frame
@property (nonatomic) CGFloat ys_x;         ///< frame.origin.x
@property (nonatomic) CGFloat ys_y;         ///< frame.origin.y
@property (nonatomic) CGFloat ys_right;     ///< frame.origin.x + frame.size.width
@property (nonatomic) CGFloat ys_bottom;    ///< frame.origin.x + frame.size.height
@property (nonatomic) CGFloat ys_width;     ///< frame.size.width
@property (nonatomic) CGFloat ys_height;    ///< frame.size.height
@property (nonatomic) CGFloat ys_centerX;   ///< center.x
@property (nonatomic) CGFloat ys_centerY;   ///< center.y
@property (nonatomic) CGPoint ys_origin;    ///< frame.origin
@property (nonatomic) CGSize  ys_size;       ///< frame.size

@end
